LOOP SOUND
This command will play and loop the specified Sound Number continuously.
LOOP SOUND Sound Number
LOOP SOUND Sound Number,Start Position
LOOP SOUND Sound Number,Start Position,End Position
LOOP SOUND Sound Number,Start Position,End Position,Initial Position
Sound Number
Integer
The command will play and loop the specified Sound Number continuously
Start Position
Integer
This value is an integer number such as 1.
End Position
Integer
This value is an integer number such as 1.
Initial Position
Integer
This value is an integer number such as 1.
This command does not return a value.
Optional parameters allow you to specify a start position, end position and initial position in bytes that a looping sound will use as it plays.
cls
load sound "man.wav",1
loop sound 1
wait 1000*8
stop sound 1
do
loop
end
SOUND Commands Menu
Index